package com.gang.ssm.bos.system.bean;

public class Subarea {
	private Integer id;

	private String addresskey;

	private String startnum;

	private String endnum;

	private String single;

	private String position;

	private Integer regionId;

	private Integer decidedzoneId;

	private Decidedzone decidedzone;

	private Region region;
	
	private boolean decededzoneHas;
	
	public String getSubareaId(){
		return id.toString();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAddresskey() {
		return addresskey;
	}

	public void setAddresskey(String addresskey) {
		this.addresskey = addresskey == null ? null : addresskey.trim();
	}

	public String getStartnum() {
		return startnum;
	}

	public void setStartnum(String startnum) {
		this.startnum = startnum == null ? null : startnum.trim();
	}

	public String getEndnum() {
		return endnum;
	}

	public void setEndnum(String endnum) {
		this.endnum = endnum == null ? null : endnum.trim();
	}

	public String getSingle() {
		return single;
	}

	public void setSingle(String single) {
		this.single = single == null ? null : single.trim();
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position == null ? null : position.trim();
	}

	public Integer getRegionId() {
		return regionId;
	}

	public void setRegionId(Integer regionId) {
		this.regionId = regionId;
	}

	public Integer getDecidedzoneId() {
		return decidedzoneId;
	}

	public void setDecidedzoneId(Integer decidedzoneId) {
		this.decidedzoneId = decidedzoneId;
	}

	public Decidedzone getDecidedzone() {
		return decidedzone;
	}

	public void setDecidedzone(Decidedzone decidedzone) {
		this.decidedzone = decidedzone;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}
	
	public boolean isDecededzoneHas() {
		return decededzoneHas;
	}

	public void setDecededzoneHas(boolean decededzoneHas) {
		this.decededzoneHas = decededzoneHas;
	}

	public Subarea(String addresskey, String startnum,
			String endnum, String single, String position) {
		this.addresskey = addresskey;
		this.startnum = startnum;
		this.endnum = endnum;
		this.single = single;
		this.position = position;
	}

	public Subarea() {
	}

}